﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="HomeMenu.ascx.cs" Inherits="SLIITPro.Controls.HomeMenu" %>
<!-- Header Starts Here -->
<style type="text/css">
    .style1 { width: 100%; }
</style>
<br />
&nbsp;
<div id="header">
    <!-- Logo Starts Here -->
    <div id="logo">
        <a href="../Default.aspx">
            <img src="../../Images/logo.jpg" alt="lbis" /></a>
    </div>
    <!-- Logo Ends Here -->
    <!-- Menu Body Starts Here -->
    <div id="menu_body">
        <!-- Menu Content Starts Here -->
        <div class="menu_content">
            <% if (Page.User.Identity.IsAuthenticated)
               { %>
            <ul id="nav">
                <li class="topfirst"><a href="../Default.aspx" title="Home">Home</a></li>
                <% if (!Page.User.IsInRole("information"))
                   { %>
                <li class="topitem"><a href="#" title="Account"><span>Account</span></a>
                    <ul class="sub">
                        <% if (Page.User.IsInRole("administrator"))
                           { %>
                        <li class="subfirst"><a href="../SysUsers/UserAdministrations.aspx" title="Edit Users">
                            Edit Users</a></li>
                        <%} %>
                        <li><a href="../SysUsers/ContentEdit.aspx" title="Edit Business">Edit Business</a></li>
                        <li><a href="../SysUsers/Comments.aspx" title="Edit Comment">Edit Comment</a></li>
                        <li><a href="../SysUsers/MyBusiness.aspx" title="My Business">My Business</a></li>
                    </ul>
                </li>
                <%} %>
                <li class="topitem"><a href="#" title="New"><span>New</span></a>
                    <ul class="sub">
                        <li class="subfirst"><a href="../Register.aspx" title="User">User</a></li>
                        <li><a href="../SysUsers/Locations.aspx" title="Location">Location</a></li>
                    </ul>
                </li>
                <li class="toplast"><a href="../Services.aspx" title="Services">Services</a></li>
            </ul>
            <%} %>
            <!-- Search Part Starts Here -->
            <%--<div class="search_body">
                        <input type="text" name="search" /><a href="http://www.design3edge.com"><input style="margin-top: 1px;"
                            type="image" src="images/search_btn.gif" name="Search" /></a>
                    </div>--%>
            <!-- Search Part Ends Here -->
        </div>
        <!-- Menu Content Ends here -->
        <div style="float: right" id="user_login_box">
            <asp:Label ID="lblUser" runat="server"></asp:Label>
            &nbsp;&nbsp;&nbsp;
            <%--<asp:HyperLink ID="hypLogout" runat="server"></asp:HyperLink>--%>&nbsp;&nbsp;
        </div>
    </div>
    <!-- Menu Body Ends Here -->
</div>
<!-- Header Ends Here -->
